package psn.kiko.constant;

/**
 * 消息常量类
 */
public class MessageConstant {
	public static final String USER_LOGIN_SUCCESS="登录成功";
	public static final String ACCOUNT_WAS_NOT_OWNED_BY_LOGIN_USER ="账号非当前登录所属";
	public static final String USER_WAS_ALLOCATED_NONE_ROLES="用户未分配任何角色";
	public static final String USER_WAS_DISABLED ="用户被禁用";
	public static final String USER_LOGIN_EXPIRED="token过期,请尝试重新登录";
	public static final String USER_NOT_EXIST="用户不存在";
	public static final String UNKNOWN_ERROR="未知错误";
	public static final String FILE_UPLOAD_SUCCESS = "文件上传成功";
	public static final String FILE_DELETION_FAIL = "文件删除失败";
	public static final String FILE_DELETION_SUCCESS = "文件删除成功";
	public static final String FILE_NOT_EXIST = "文件不存在";
	public static final String FILE_UPLOAD_FAIL = "文件上传失败";
	public static final String FILE_DOWNLOAD_FAIL = "文件下载失败";
	public static final String FILE_PARSE_FAIL = "文件解析失败";
	public static final String FILE_PARSE_FAIL_CAUSE_EXISTS = "失败，文件已经解析过，请先删除从该文件中解析出的所有接口，再重试";
	public static final String FILE_PARSE_SUCCESS = "文件解析成功";
	public static final String BUSINESS_OPERATION_SUCCESS = "操作成功";
	public static final String BUSINESS_OPERATION_FAIL = "操作失败";
	public static final String INTERFACE_NOT_EXIST = "接口不存在";
	public static final String INTERFACE_ITSELF_WAS_DISABLED = "接口本身被禁用";
	public static final String ROLE_ITSELF_WAS_DISABLED = "角色本身被禁用";
	public static final String INTERFACE_WAS_NOT_ALLOCATED_TO_USER = "接口未分配给用户";
	public static final String INTERFACE_WAS_ALLOCATED_BUT_DISABLED = "接口已分配给用户，但被禁用";
	public static final String ROLE_WAS_ALLOCATED_TO_USER_BUT_DISABLED = "角色已分配给用户，但被禁用";
	public static final String NAVIGATION_ITEM_MUST_STARTS_WITH_SLASH = "导航项必须以'/'开头";
	public static final String NAVIGATION_GROUP_SHOULD_NOT_LONG_TO_OTHER_GROUP = "导航组不应划分到其它导航组";
	public static final String ALLOCATED_NAVIGATION_ITEM_CANT_CHANGE_TYPE_AS_GROUP = "已被分配的导航项不能更改类型为导航组";
	public static final String CONTAINS_NAVIGATION_ITEMS_CANT_CHANGE_TYPE_AS_ITEM = "含有导航项的导航组不能更改类型为导航项";
	public static final String  SOME_NAVIGATION_GROUP_HAS_ALLOCATED_ITEMS= "有导航组已分配了导航项，拒绝批量删除";
	public static final String  INSERT_DUPLICATE_ROWS= "重复添加数据";
	
	private MessageConstant( ) {
	}
}
